home *** CD-ROM | disk | FTP | other *** search
- /* samc0201.c */
- /* the minimum requirements for a program */
- /* using TEGL Windows Toolkit II */
-
- #include <graphics.h>
- #include "teglsys.h"
-
- void main()
- {
- easytegl();
-
- /* insert your code here */
-
- pushimage(100,100,200,120);
- shadowbox(100,100,200,120);
- setcolor(BLACK);
- outtegltextxy(105,105,"Hello world");
-
- /* then turn control over to supervisor */
-
- teglsupervisor();
- }